<?php

include_once ('com/alibaba/openapi/client/entity/SDKDomain.class.php');
include_once ('com/alibaba/openapi/client/entity/ByteArray.class.php');
include_once ('AlibabaTradeGetBuyerViewParam/AlibabaCreditOrderForDetail.class.php');
include_once ('AlibabaTradeGetBuyerViewParam/AlibabaOrderPreOrderForRead.class.php');
include_once ('AlibabaTradeGetBuyerViewParam/AlibabaLstTradeInfo.class.php');

class AlibabaOrderBizInfo extends SDKDomain {

       	
    private $odsCyd;
    
        /**
    * @return 是否采源宝订单
    */
        public function getOdsCyd() {
        return $this->odsCyd;
    }
    
    /**
     * 设置是否采源宝订单     
     * @param Boolean $odsCyd     
     * 参数示例：<pre>true</pre>     
     * 此参数必填     */
    public function setOdsCyd( $odsCyd) {
        $this->odsCyd = $odsCyd;
    }
    
        	
    private $accountPeriodTime;
    
        /**
    * @return 账期交易订单的到账时间
    */
        public function getAccountPeriodTime() {
        return $this->accountPeriodTime;
    }
    
    /**
     * 设置账期交易订单的到账时间     
     * @param String $accountPeriodTime     
     * 参数示例：<pre>yyyy-MM-dd HH:mm:ss</pre>     
     * 此参数必填     */
    public function setAccountPeriodTime( $accountPeriodTime) {
        $this->accountPeriodTime = $accountPeriodTime;
    }
    
        	
    private $creditOrder;
    
        /**
    * @return 为true，表示下单时选择了诚e赊交易方式。注意不等同于“诚e赊支付”，支付时有可能是支付宝付款，具体支付方式查询tradeTerms.payWay
    */
        public function getCreditOrder() {
        return $this->creditOrder;
    }
    
    /**
     * 设置为true，表示下单时选择了诚e赊交易方式。注意不等同于“诚e赊支付”，支付时有可能是支付宝付款，具体支付方式查询tradeTerms.payWay     
     * @param Boolean $creditOrder     
     * 参数示例：<pre>false</pre>     
     * 此参数必填     */
    public function setCreditOrder( $creditOrder) {
        $this->creditOrder = $creditOrder;
    }
    
        	
    private $creditOrderDetail;
    
        /**
    * @return 诚e赊支付详情，只有使用诚e赊付款时返回
    */
        public function getCreditOrderDetail() {
        return $this->creditOrderDetail;
    }
    
    /**
     * 设置诚e赊支付详情，只有使用诚e赊付款时返回     
     * @param AlibabaCreditOrderForDetail $creditOrderDetail     
     * 参数示例：<pre></pre>     
     * 此参数必填     */
    public function setCreditOrderDetail(AlibabaCreditOrderForDetail $creditOrderDetail) {
        $this->creditOrderDetail = $creditOrderDetail;
    }
    
        	
    private $preOrderInfo;
    
        /**
    * @return 预订单信息
    */
        public function getPreOrderInfo() {
        return $this->preOrderInfo;
    }
    
    /**
     * 设置预订单信息     
     * @param AlibabaOrderPreOrderForRead $preOrderInfo     
     * 参数示例：<pre>{}</pre>     
     * 此参数必填     */
    public function setPreOrderInfo(AlibabaOrderPreOrderForRead $preOrderInfo) {
        $this->preOrderInfo = $preOrderInfo;
    }
    
        	
    private $lstOrderInfo;
    
        /**
    * @return 零售通订单信息
    */
        public function getLstOrderInfo() {
        return $this->lstOrderInfo;
    }
    
    /**
     * 设置零售通订单信息     
     * @param AlibabaLstTradeInfo $lstOrderInfo     
     * 参数示例：<pre>{}</pre>     
     * 此参数必填     */
    public function setLstOrderInfo(AlibabaLstTradeInfo $lstOrderInfo) {
        $this->lstOrderInfo = $lstOrderInfo;
    }
    
        	
    private $erpBuyerUserId;
    
        /**
    * @return ERP的用户ID
    */
        public function getErpBuyerUserId() {
        return $this->erpBuyerUserId;
    }
    
    /**
     * 设置ERP的用户ID     
     * @param String $erpBuyerUserId     
     * 参数示例：<pre>U001012121</pre>     
     * 此参数必填     */
    public function setErpBuyerUserId( $erpBuyerUserId) {
        $this->erpBuyerUserId = $erpBuyerUserId;
    }
    
        	
    private $erpOrderId;
    
        /**
    * @return ERP的订单编号
    */
        public function getErpOrderId() {
        return $this->erpOrderId;
    }
    
    /**
     * 设置ERP的订单编号     
     * @param String $erpOrderId     
     * 参数示例：<pre>O123331</pre>     
     * 此参数必填     */
    public function setErpOrderId( $erpOrderId) {
        $this->erpOrderId = $erpOrderId;
    }
    
        	
    private $erpBuyerOrgId;
    
        /**
    * @return ERP组织ID
    */
        public function getErpBuyerOrgId() {
        return $this->erpBuyerOrgId;
    }
    
    /**
     * 设置ERP组织ID     
     * @param String $erpBuyerOrgId     
     * 参数示例：<pre>OG4331113</pre>     
     * 此参数必填     */
    public function setErpBuyerOrgId( $erpBuyerOrgId) {
        $this->erpBuyerOrgId = $erpBuyerOrgId;
    }
    
        	
    private $isCz;
    
        /**
    * @return 是否加工定制订单
    */
        public function getIsCz() {
        return $this->isCz;
    }
    
    /**
     * 设置是否加工定制订单     
     * @param Boolean $isCz     
     * 参数示例：<pre>false</pre>     
     * 此参数必填     */
    public function setIsCz( $isCz) {
        $this->isCz = $isCz;
    }
    
        	
    private $isDz;
    
        /**
    * @return 是否定制订单
    */
        public function getIsDz() {
        return $this->isDz;
    }
    
    /**
     * 设置是否定制订单     
     * @param Boolean $isDz     
     * 参数示例：<pre>false</pre>     
     * 此参数必填     */
    public function setIsDz( $isDz) {
        $this->isDz = $isDz;
    }
    
        	
    private $dz;
    
        /**
    * @return 是否定制订单
    */
        public function getDz() {
        return $this->dz;
    }
    
    /**
     * 设置是否定制订单     
     * @param Boolean $dz     
     * 参数示例：<pre>false</pre>     
     * 此参数必填     */
    public function setDz( $dz) {
        $this->dz = $dz;
    }
    
        	
    private $dropshipping;
    
        /**
    * @return 是否dropshipping订单，该类型订单不允许合并发货
    */
        public function getDropshipping() {
        return $this->dropshipping;
    }
    
    /**
     * 设置是否dropshipping订单，该类型订单不允许合并发货     
     * @param Boolean $dropshipping     
     * 参数示例：<pre>true</pre>     
     * 此参数必填     */
    public function setDropshipping( $dropshipping) {
        $this->dropshipping = $dropshipping;
    }
    
        	
    private $shippingInsurance;
    
        /**
    * @return givenByPlatform:平台赠送运费险 givenByMerchant:商家赠送运费险，为空表示订单无运费险
    */
        public function getShippingInsurance() {
        return $this->shippingInsurance;
    }
    
    /**
     * 设置givenByPlatform:平台赠送运费险 givenByMerchant:商家赠送运费险，为空表示订单无运费险     
     * @param String $shippingInsurance     
     * 参数示例：<pre>givenByPlatform</pre>     
     * 此参数必填     */
    public function setShippingInsurance( $shippingInsurance) {
        $this->shippingInsurance = $shippingInsurance;
    }
    
        	
    private $hyperLinkCangFaOrder;
    
        /**
    * @return 大店仓发订单
    */
        public function getHyperLinkCangFaOrder() {
        return $this->hyperLinkCangFaOrder;
    }
    
    /**
     * 设置大店仓发订单     
     * @param Boolean $hyperLinkCangFaOrder     
     * 参数示例：<pre>true</pre>     
     * 此参数必填     */
    public function setHyperLinkCangFaOrder( $hyperLinkCangFaOrder) {
        $this->hyperLinkCangFaOrder = $hyperLinkCangFaOrder;
    }
    
        	
    private $hyperLinkOrder;
    
        /**
    * @return 超链一阶段订单
    */
        public function getHyperLinkOrder() {
        return $this->hyperLinkOrder;
    }
    
    /**
     * 设置超链一阶段订单     
     * @param Boolean $hyperLinkOrder     
     * 参数示例：<pre>flase</pre>     
     * 此参数必填     */
    public function setHyperLinkOrder( $hyperLinkOrder) {
        $this->hyperLinkOrder = $hyperLinkOrder;
    }
    
        	
    private $hyperLinkSecondStepOrder;
    
        /**
    * @return 超链大店二阶段订单的第二阶段订单
    */
        public function getHyperLinkSecondStepOrder() {
        return $this->hyperLinkSecondStepOrder;
    }
    
    /**
     * 设置超链大店二阶段订单的第二阶段订单     
     * @param Boolean $hyperLinkSecondStepOrder     
     * 参数示例：<pre>true</pre>     
     * 此参数必填     */
    public function setHyperLinkSecondStepOrder( $hyperLinkSecondStepOrder) {
        $this->hyperLinkSecondStepOrder = $hyperLinkSecondStepOrder;
    }
    
        	
    private $hyperLinkShipType;
    
        /**
    * @return 超链一阶段订单的发货模式 0 仓发 1 商发
    */
        public function getHyperLinkShipType() {
        return $this->hyperLinkShipType;
    }
    
    /**
     * 设置超链一阶段订单的发货模式 0 仓发 1 商发     
     * @param String $hyperLinkShipType     
     * 参数示例：<pre>0</pre>     
     * 此参数必填     */
    public function setHyperLinkShipType( $hyperLinkShipType) {
        $this->hyperLinkShipType = $hyperLinkShipType;
    }
    
        	
    private $lightningWarehouse;
    
        /**
    * @return 闪电仓订单
    */
        public function getLightningWarehouse() {
        return $this->lightningWarehouse;
    }
    
    /**
     * 设置闪电仓订单     
     * @param Boolean $lightningWarehouse     
     * 参数示例：<pre>true</pre>     
     * 此参数必填     */
    public function setLightningWarehouse( $lightningWarehouse) {
        $this->lightningWarehouse = $lightningWarehouse;
    }
    
        	
    private $aeDoorPickUp;
    
        /**
    * @return ae上门揽订单
    */
        public function getAeDoorPickUp() {
        return $this->aeDoorPickUp;
    }
    
    /**
     * 设置ae上门揽订单     
     * @param Boolean $aeDoorPickUp     
     * 参数示例：<pre>true</pre>     
     * 此参数必填     */
    public function setAeDoorPickUp( $aeDoorPickUp) {
        $this->aeDoorPickUp = $aeDoorPickUp;
    }
    
        	
    private $aeSelfSend;
    
        /**
    * @return ae自寄订单	
    */
        public function getAeSelfSend() {
        return $this->aeSelfSend;
    }
    
    /**
     * 设置ae自寄订单	     
     * @param Boolean $aeSelfSend     
     * 参数示例：<pre>true</pre>     
     * 此参数必填     */
    public function setAeSelfSend( $aeSelfSend) {
        $this->aeSelfSend = $aeSelfSend;
    }
    
    	
	private $stdResult;
	
	public function setStdResult($stdResult) {
		$this->stdResult = $stdResult;
					    			    			if (array_key_exists ( "odsCyd", $this->stdResult )) {
    				$this->odsCyd = $this->stdResult->{"odsCyd"};
    			}
    			    		    				    			    			if (array_key_exists ( "accountPeriodTime", $this->stdResult )) {
    				$this->accountPeriodTime = $this->stdResult->{"accountPeriodTime"};
    			}
    			    		    				    			    			if (array_key_exists ( "creditOrder", $this->stdResult )) {
    				$this->creditOrder = $this->stdResult->{"creditOrder"};
    			}
    			    		    				    			    			if (array_key_exists ( "creditOrderDetail", $this->stdResult )) {
    				$creditOrderDetailResult=$this->stdResult->{"creditOrderDetail"};
    				$this->creditOrderDetail = new AlibabaCreditOrderForDetail();
    				$this->creditOrderDetail->setStdResult ( $creditOrderDetailResult);
    			}
    			    		    				    			    			if (array_key_exists ( "preOrderInfo", $this->stdResult )) {
    				$preOrderInfoResult=$this->stdResult->{"preOrderInfo"};
    				$this->preOrderInfo = new AlibabaOrderPreOrderForRead();
    				$this->preOrderInfo->setStdResult ( $preOrderInfoResult);
    			}
    			    		    				    			    			if (array_key_exists ( "lstOrderInfo", $this->stdResult )) {
    				$lstOrderInfoResult=$this->stdResult->{"lstOrderInfo"};
    				$this->lstOrderInfo = new AlibabaLstTradeInfo();
    				$this->lstOrderInfo->setStdResult ( $lstOrderInfoResult);
    			}
    			    		    				    			    			if (array_key_exists ( "erpBuyerUserId", $this->stdResult )) {
    				$this->erpBuyerUserId = $this->stdResult->{"erpBuyerUserId"};
    			}
    			    		    				    			    			if (array_key_exists ( "erpOrderId", $this->stdResult )) {
    				$this->erpOrderId = $this->stdResult->{"erpOrderId"};
    			}
    			    		    				    			    			if (array_key_exists ( "erpBuyerOrgId", $this->stdResult )) {
    				$this->erpBuyerOrgId = $this->stdResult->{"erpBuyerOrgId"};
    			}
    			    		    				    			    			if (array_key_exists ( "isCz", $this->stdResult )) {
    				$this->isCz = $this->stdResult->{"isCz"};
    			}
    			    		    				    			    			if (array_key_exists ( "isDz", $this->stdResult )) {
    				$this->isDz = $this->stdResult->{"isDz"};
    			}
    			    		    				    			    			if (array_key_exists ( "dz", $this->stdResult )) {
    				$this->dz = $this->stdResult->{"dz"};
    			}
    			    		    				    			    			if (array_key_exists ( "dropshipping", $this->stdResult )) {
    				$this->dropshipping = $this->stdResult->{"dropshipping"};
    			}
    			    		    				    			    			if (array_key_exists ( "shippingInsurance", $this->stdResult )) {
    				$this->shippingInsurance = $this->stdResult->{"shippingInsurance"};
    			}
    			    		    				    			    			if (array_key_exists ( "hyperLinkCangFaOrder", $this->stdResult )) {
    				$this->hyperLinkCangFaOrder = $this->stdResult->{"hyperLinkCangFaOrder"};
    			}
    			    		    				    			    			if (array_key_exists ( "hyperLinkOrder", $this->stdResult )) {
    				$this->hyperLinkOrder = $this->stdResult->{"hyperLinkOrder"};
    			}
    			    		    				    			    			if (array_key_exists ( "hyperLinkSecondStepOrder", $this->stdResult )) {
    				$this->hyperLinkSecondStepOrder = $this->stdResult->{"hyperLinkSecondStepOrder"};
    			}
    			    		    				    			    			if (array_key_exists ( "hyperLinkShipType", $this->stdResult )) {
    				$this->hyperLinkShipType = $this->stdResult->{"hyperLinkShipType"};
    			}
    			    		    				    			    			if (array_key_exists ( "lightningWarehouse", $this->stdResult )) {
    				$this->lightningWarehouse = $this->stdResult->{"lightningWarehouse"};
    			}
    			    		    				    			    			if (array_key_exists ( "aeDoorPickUp", $this->stdResult )) {
    				$this->aeDoorPickUp = $this->stdResult->{"aeDoorPickUp"};
    			}
    			    		    				    			    			if (array_key_exists ( "aeSelfSend", $this->stdResult )) {
    				$this->aeSelfSend = $this->stdResult->{"aeSelfSend"};
    			}
    			    		    		}
	
	private $arrayResult;
	public function setArrayResult($arrayResult) {
		$this->arrayResult = $arrayResult;
				    		    			if (array_key_exists ( "odsCyd", $this->arrayResult )) {
    			$this->odsCyd = $arrayResult['odsCyd'];
    			}
    		    	    			    		    			if (array_key_exists ( "accountPeriodTime", $this->arrayResult )) {
    			$this->accountPeriodTime = $arrayResult['accountPeriodTime'];
    			}
    		    	    			    		    			if (array_key_exists ( "creditOrder", $this->arrayResult )) {
    			$this->creditOrder = $arrayResult['creditOrder'];
    			}
    		    	    			    		    		if (array_key_exists ( "creditOrderDetail", $this->arrayResult )) {
    		$creditOrderDetailResult=$arrayResult['creditOrderDetail'];
    			    			$this->creditOrderDetail = new AlibabaCreditOrderForDetail();
    			    			$this->creditOrderDetail->setStdResult ( $creditOrderDetailResult);
    		}
    		    	    			    		    		if (array_key_exists ( "preOrderInfo", $this->arrayResult )) {
    		$preOrderInfoResult=$arrayResult['preOrderInfo'];
    			    			$this->preOrderInfo = new AlibabaOrderPreOrderForRead();
    			    			$this->preOrderInfo->setStdResult ( $preOrderInfoResult);
    		}
    		    	    			    		    		if (array_key_exists ( "lstOrderInfo", $this->arrayResult )) {
    		$lstOrderInfoResult=$arrayResult['lstOrderInfo'];
    			    			$this->lstOrderInfo = new AlibabaLstTradeInfo();
    			    			$this->lstOrderInfo->setStdResult ( $lstOrderInfoResult);
    		}
    		    	    			    		    			if (array_key_exists ( "erpBuyerUserId", $this->arrayResult )) {
    			$this->erpBuyerUserId = $arrayResult['erpBuyerUserId'];
    			}
    		    	    			    		    			if (array_key_exists ( "erpOrderId", $this->arrayResult )) {
    			$this->erpOrderId = $arrayResult['erpOrderId'];
    			}
    		    	    			    		    			if (array_key_exists ( "erpBuyerOrgId", $this->arrayResult )) {
    			$this->erpBuyerOrgId = $arrayResult['erpBuyerOrgId'];
    			}
    		    	    			    		    			if (array_key_exists ( "isCz", $this->arrayResult )) {
    			$this->isCz = $arrayResult['isCz'];
    			}
    		    	    			    		    			if (array_key_exists ( "isDz", $this->arrayResult )) {
    			$this->isDz = $arrayResult['isDz'];
    			}
    		    	    			    		    			if (array_key_exists ( "dz", $this->arrayResult )) {
    			$this->dz = $arrayResult['dz'];
    			}
    		    	    			    		    			if (array_key_exists ( "dropshipping", $this->arrayResult )) {
    			$this->dropshipping = $arrayResult['dropshipping'];
    			}
    		    	    			    		    			if (array_key_exists ( "shippingInsurance", $this->arrayResult )) {
    			$this->shippingInsurance = $arrayResult['shippingInsurance'];
    			}
    		    	    			    		    			if (array_key_exists ( "hyperLinkCangFaOrder", $this->arrayResult )) {
    			$this->hyperLinkCangFaOrder = $arrayResult['hyperLinkCangFaOrder'];
    			}
    		    	    			    		    			if (array_key_exists ( "hyperLinkOrder", $this->arrayResult )) {
    			$this->hyperLinkOrder = $arrayResult['hyperLinkOrder'];
    			}
    		    	    			    		    			if (array_key_exists ( "hyperLinkSecondStepOrder", $this->arrayResult )) {
    			$this->hyperLinkSecondStepOrder = $arrayResult['hyperLinkSecondStepOrder'];
    			}
    		    	    			    		    			if (array_key_exists ( "hyperLinkShipType", $this->arrayResult )) {
    			$this->hyperLinkShipType = $arrayResult['hyperLinkShipType'];
    			}
    		    	    			    		    			if (array_key_exists ( "lightningWarehouse", $this->arrayResult )) {
    			$this->lightningWarehouse = $arrayResult['lightningWarehouse'];
    			}
    		    	    			    		    			if (array_key_exists ( "aeDoorPickUp", $this->arrayResult )) {
    			$this->aeDoorPickUp = $arrayResult['aeDoorPickUp'];
    			}
    		    	    			    		    			if (array_key_exists ( "aeSelfSend", $this->arrayResult )) {
    			$this->aeSelfSend = $arrayResult['aeSelfSend'];
    			}
    		    	    		}
 
   
}
?>